<template>
	<view class="con">
		<view class="result">
			<image src="../../static/xz.png" mode="widthFix"></image>
			<view class="info">绑定成功</view>
		</view>
		
		<view class="content">请保证管理线路已连接网络,并保持在线状态。</view>
		
		<view class="button" @tap="config">
			配置网络
		</view>
	</view>
</template>

<script>

	export default {
		data() {
			return {
				nodeID:""
			}
		},
		onLoad(option) {
			this.nodeID = option.nodeID
		},
		
		methods: {

			config(){
				uni.navigateTo({
					url:'/pages/index/nat-config?nodeID='+this.nodeID
				})
			}
		}
	}
</script>

<style lang="scss">
	.con{
		padding: 10rpx 40rpx;
		
		.result{
			display: flex;
			
			image {
				margin: 30% 0 0 25%;
				width: 100rpx;
				height: 100rpx;
			}
			
			.info{
				margin: 30% 0 0 25%;
				height: 100rpx;
				line-height: 100rpx;
				margin-left: 40rpx;
				font-size: 40rpx;
			}
		}
		
		.content{
			letter-spacing: 5rpx;
			text-align: center;
			margin-top: 30rpx;
		}
		
		.button{
			margin-top: 60rpx;
			border: 2rpx solid #d1d1d1;
			border-radius: 10rpx;
			padding: 10rpx;
			text-align: center;
			font-size: 30rpx;
			color: #6f6b6b;
		}
		
	}
</style>
